package com.springboot.dubbo.user.provider;

import com.springboot.dubbo.user.api.IAgentProvider;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;

/**
 * @ClassName AgentProvider
 * @Description: 客户微服务提供者，与用户放在一起，用于测试一个服务者中是否可以拥有多个子接口
 * @Author 杨冬冬
 * @Date 2021/7/2 0002 16:52
 **/
@Component
@DubboService(group = "dubbo-demo", version = "0.0.1")
public class AgentProvider implements IAgentProvider {

    @Override
    public String info() {
        return "我是代理商啊";
    }
}
